
class DateException extends Exception {
	
	String error;
	
	public DateException()
	{
		super();
		error = "Invalid Date!";
	}
	
	public DateException(String e)
	{
		super(e);
		error = e;
	}
	
	public String getError()
	{
		return error;
	}

}
